<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 14-3-20
  Time: 下午2:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<html>
<head>
    <title>维修记录</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="../js/menu.js"></script>

    <script src='<%=basePath%>dwr/util.js' type="text/javascript"></script>
    <script src='<%=basePath%>dwr/engine.js' type="text/javascript"></script>
    <script src='<%=basePath%>dwr/interface/maintainingService.js' type='text/javascript'></script>

</head>
<body>
<%@ include file="/page/share/menu.jsp" %>
<div id="content">
    <form method="post" action="Maintaining!doMaintaining.action">
        <table>

            <tr>
                <td style="text-align: center">
                    申请时间
                </td>
                <td style="text-align: center">
                    问题描述
                </td>
                <td style="text-align: center">
                    状 态
                </td>
            </tr>
            <s:iterator value="maintainings" var="m">
                <tr>
                    <td>
                        <fmt:formatDate value="${m.applyDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
                    </td>
                    <td>
                            ${m.description}
                    </td>
                    <td>
                            ${m.state}
                    </td>
                    <td>
                        <c:if test="${m.state=='AUDIT'}">
                            <a href="Maintaining!showOne.action?id=${m.id}&flag=1">评价</a>
                        </c:if>
                    </td>
                </tr>
            </s:iterator>
        </table>

    </form>
</div>


</body>
</html>
